var houselist = new Vue({
    el: '#houselist',
    data() {
        return {
            houses:[  ]
        }
    },
    mounted: function() {
        //合租
        this.showRent();
    }, 
    methods: {
        showRent:function(){
            var that = this;
            $.ajax({
                url: '   ',		
                type: 'get',
            	contentType: "application/json;charset=UTF-8",
            	dataType: 'json',
            	success: function(msg) {
            	    that.rent=msg.data;		
            	    console.log(msg.data)
            	},error:function () {
            		console.log("合租ing");
            		 }
            		});        		      
         }
    	
    	
    	
    	
    }
    
    
});